package com.kamistoat.meimeistore.seckill;

import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

@EnableRabbit  // 开启RabbitMQ
@EnableFeignClients  // 开启远程接口
@EnableRedisHttpSession  // 开启redis-session
@EnableDiscoveryClient
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class MeimeistoreWebBackstageSeckillApplication {

    public static void main(String[] args) {
        SpringApplication.run(MeimeistoreWebBackstageSeckillApplication.class, args);
    }

}
